using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Scripting;

[Preserve]
public class GamePresetModel : PresetModel
{
    #region Channel
    [DashboardGui(DashboardGuiType.Options)]
    public static string Channel
    {
        get => ChannelManager.Stuff.SelectedChannelName;
        set => ChannelManager.Stuff.SelectedChannelName = value;
    }

    public static List<string> Channel_GetOptionList() => ChannelManager.Stuff.ChannelNameList;

    public static string Channel_GetDefault() => ChannelManager.Stuff.DefaultChannelName;
    public static void Channel_DeleteLocalCache() => ChannelManager.Stuff.DeleteCache();
    #endregion

    #region Guide
    [DashboardGui(DashboardGuiType.Checkbox)]
    public static bool Guide
    {
        get => GameSettings.UseGuide;
        set => GameSettings.UseGuide = value;
    }

    public static bool Guide_GetDefault() => GameSettings.UseGuide_Default;
    #endregion
}
